package com.spring.cloud.study.user;

import com.spring.cloud.study.user.configs.datasources.DynamicDataSourceConfig;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.context.annotation.Import;

@SpringBootApplication
@EnableEurekaClient
@Import(DynamicDataSourceConfig.class)
//@ComponentScan(basePackages = {"com.spring.cloud.study.user"})
public class UserServerProviderApplication {

	public static void main(String[] args) {
		SpringApplication.run(UserServerProviderApplication.class, args);
	}
}
